package com.model.dto.base.car;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-09-09 15:45
 **/
@Data
public class GetCarListDTO {
    @ApiModelProperty(value = "page必须是正整数")
    @Range(min = 0, message = "page必须是正整数")
    private int page = 1;
    @ApiModelProperty(value = "pageSize必须是正整数")
    @Range(min = 0, message = "pageSize必须是正整数")
    private int pageSize = 10;
    @ApiModelProperty(value = "车辆编号")
    private String carNo;
    @ApiModelProperty(value = "车牌号")
    private String plateNumber;
    @ApiModelProperty(value = "状态，0未工作，1工作中")
    private Integer status;
    @ApiModelProperty(value = "省")
    private String province;
    @ApiModelProperty(value = "市")
    private String city;
    @ApiModelProperty(value = "区")
    private String county;

}
